package com.setting.box

import android.os.Bundle
import android.view.View
import android.widget.EditText
import android.widget.ImageView
import android.widget.LinearLayout
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.tools.box.setting.R

class CommonFeedBackActivity : AppCompatActivity() {
    var inputEdit : EditText? = null
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_common_feed_back)
         initView()
    }

    private fun initView() {
        inputEdit = findViewById(R.id.input_feed_back)

        findViewById<ImageView>(R.id.leftBack).setOnClickListener {
            finish()
        }

        findViewById<TextView>(R.id.commit_feed).setOnClickListener {
            toFeedBack()
        }
    }

    private fun toFeedBack(){
        findViewById<LinearLayout>(R.id.feed_back_layout_1).visibility = View.GONE
        findViewById<LinearLayout>(R.id.feed_back_layout_2).visibility = View.VISIBLE
    }

}